package com.cjg.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cjg.common.utils.PageUtils;
import com.cjg.gulimall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author cjg
 * @email cjg@gmail.com
 * @date 2021-03-26 13:11:04
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    void removeMenuId(List<Long> asList);
//找到完整路径
    Long[] findCatelogPath(Long catelogId);

    void updateByIdRelation(CategoryEntity category);
}

